package kxfang.com.common.parameter;

import java.io.Serializable;

import kxfang.com.common.parameter.CommonPar;
import kxfang.com.common.parameter.TokenModel;


public class LoginPar extends CommonPar implements Serializable {
    private int ctype;// 1 找房者 2 经纪人【注册时传入】 ,
    private String Pwd;//密码 ,
    private String Alias;//昵称 ,
    private String Phone;//电话号码 ,
    private String Yzm;//    验证码 ,
    private int PersonType;//操作方式 1 登录【验证码模式优先 密码模式第二】 2 注册 3 找回密码 4 举报 5 修改个人信息 6 委托 7 修改三方ID = ['1', '2', '3', '4', '5', '6', '7'],
    private String ThirdID;//三方ID ,
    private String head;// (string, optional)://头像 base64
    private int ThirdType;//类型
    private String EnterPriseID;//企业id

    @Override
    public String toString() {
        return "LoginPar{" +
                "ctype=" + ctype +
                ", Pwd='" + Pwd + '\'' +
                ", Alias='" + Alias + '\'' +
                ", Phone='" + Phone + '\'' +
                ", Yzm='" + Yzm + '\'' +
                ", PersonType=" + PersonType +
                ", RUserID=" + getRUserID() +
                ", ThirdID='" + ThirdID + '\'' +
                ", head='" + head + '\'' +
                ", ThirdType=" + ThirdType +
                ", EnterPriseID='" + EnterPriseID + '\'' +
                ", PromotersID='" + PromotersID + '\'' +
                ", tokenModel=" + getTokenModel() +
                '}';
    }

    private String PromotersID;//推广id

    public String getPromotersID() {
        return PromotersID;
    }

    public void setPromotersID(String promotersID) {
        PromotersID = promotersID;
    }


    public String getEnterPriseID() {
        return EnterPriseID;
    }

    public void setEnterPriseID(String enterPriseID) {
        EnterPriseID = enterPriseID;
    }

    public int getThirdType() {
        return ThirdType;
    }

    public void setThirdType(int thirdType) {
        ThirdType = thirdType;
    }

    public int getCtype() {
        return ctype;
    }

    public void setCtype(int ctype) {
        this.ctype = ctype;
    }

    public String getPwd() {
        return Pwd;
    }

    public void setPwd(String pwd) {
        Pwd = pwd;
    }

    public String getAlias() {
        return Alias;
    }

    public void setAlias(String alias) {
        Alias = alias;
    }

    public String getPhone() {
        return Phone;
    }

    public void setPhone(String phone) {
        Phone = phone;
    }

    public String getYzm() {
        return Yzm;
    }

    public void setYzm(String yzm) {
        Yzm = yzm;
    }

    public int getPersonType() {
        return PersonType;
    }

    public void setPersonType(int personType) {
        PersonType = personType;
    }

    public String getThirdID() {
        return ThirdID;
    }

    public void setThirdID(String thirdID) {
        ThirdID = thirdID;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }
}
